package com.evan.aiu.dao;

import com.evan.aiu.entity.Answer;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface AnswerDAO extends JpaRepository<Answer,Integer> {
    Answer findById(int id);
    List<Answer> findAllByAid(int aid);
}
